package innerclass;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/7/3 20:34
 */
public class InnerClassTesr {
    public static void main(String[] args) {
       /* InnerClass innerClass = new InnerClass() {
            @Override
            public void go() {
                System.out.println("PPPPPPPP");
            }
        };
        innerClass.go();*/
       InnerClassTesr innerClassTesr = new InnerClassTesr();
       innerClassTesr.showOff(new InnerClass() {
           @Override
           public void go() {
               System.out.println("please go go go!");
           }
       });
    }

    public void showOff(InnerClass in){
        in.go();
    }
}
